projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b535e
)
duplicate filter would crash if there wre no waypoints in the list
author
parkrrrr
<parkrrrr>
Tue, 5 Aug 2003 15:02:01 +0000
(15:02 +0000)
committer
parkrrrr
<parkrrrr>
Tue, 5 Aug 2003 15:02:01 +0000
(15:02 +0000)
duplicate.c
patch
|
blob
|
history
diff --git
a/duplicate.c
b/duplicate.c
index 570cf370157182fa43fe9f68f04724a97548071d..15fe41ce447920b75d258e83ec27968eb083d4f4 100644
(file)
--- a/
duplicate.c
+++ b/
duplicate.c
@@
-273,7
+273,9
@@
duplicate_process(void)
}
xfree(htable);
- free_tree(sup_tree);
+ if ( sup_tree ) {
+ free_tree(sup_tree);
+ }
}
void